/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GoMail;

import account.Account;
import folders2.UserFolders2;

/**
 *
 * @author Administrator
 */
public interface MailUserInterface {

    /**
     * This method is used to get reference to all folder of the mail user
     * @return reference to all folder of the mail user
     */
    UserFolders2 getFolders();

    /**
     * This method is used to user account
     * @return user account
     */
    Account getUserAccount();

    /**
     * This method is used to set references to all folder of the mail user
     * @param folders new reference to all folder of the mail user
     */
    void setFolders(UserFolders2 folders);

    /**
     * This method is used to set user account
     * @param userAccount new user account
     */
    void setUserAccount(Account userAccount);

}
